package com.teatrace.model;

import java.util.Date;

import com.entitymapper.annotation.rfid.RFIDMapping;

public class Product {

	@RFIDMapping(areaCount=1, areaStarts=1, updateStatus=false)
	private Integer id;
	
	@RFIDMapping(areaCount=1, areaStarts=2, updateStatus=false)
	private String name;
	private String productNum;
	private Date produceTime;
	private Integer monthOfGuaranteePeriod;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getProductNum() {
		return productNum;
	}
	public void setProductNum(String productNum) {
		this.productNum = productNum;
	}
	public Date getProduceTime() {
		return produceTime;
	}
	public void setProduceTime(Date produceTime) {
		this.produceTime = produceTime;
	}
	public Integer getMonthOfGuaranteePeriod() {
		return monthOfGuaranteePeriod;
	}
	public void setMonthOfGuaranteePeriod(Integer monthOfGuaranteePeriod) {
		this.monthOfGuaranteePeriod = monthOfGuaranteePeriod;
	}
	
	
}
